package com.zl.gmadmin.payload;

/**
 * @author zhangliang
 * @version 1.0
 * @date 2021/2/25 11:11
 * 部门请求查询条件
 */
public class DeptQueryCriteria {

    private Long pid;

    private  String name="";

    /**
     * 是否多个排序
     */
   private boolean condition;
    /**
     * 排序方式，是否的是升序
     */
    private boolean isAsc=true;


    /**
     * 是否可用
     */
    private Boolean enabled=false;

    /**
     * 排序列
     */
    private String column;

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public boolean isCondition() {
        return condition;
    }

    public void setCondition(boolean condition) {
        this.condition = condition;
    }

    public boolean isAsc() {
        return isAsc;
    }

    public void setAsc(boolean asc) {
        isAsc = asc;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }
}
